<h1><%= t :header, :scope => 'new_grid' %></h1>

<% form_for :grid, @grid, :url => { :action => 'create' } do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label t(:name, :scope => %w{new_grid fields}) %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label t(:description, :scope => %w{new_grid fields}) %><br />
    <%= f.text_area :description %>
  </p>
  <p>
    <%= f.label t(:rows, :scope => %w{new_grid fields}) %><br />
    <%= f.text_field :rows %>
  </p>
  <p>
    <%= f.label t(:columns, :scope => %w{new_grid fields}) %><br />
    <%= f.text_field :columns %>
  </p>
  <p>
    <%= f.submit t(:create, :scope => 'new_grid') %>
  </p>
<% end %>

  <%= link_to t(:back, :scope => 'new_grid'), :action => 'index'%>